package cn.tedu.cwgl.mapper;

import cn.tedu.cwgl.entity.Insurance;
import cn.tedu.cwgl.util.PageModel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface InsuMapper {

    int addInsurance(Insurance insurance);

    List<Insurance> getInsurance(PageModel<Insurance> insurance);

    int getTotalInsu(PageModel<Insurance> model);

    int delInsurance(Insurance insurance);

    int updateInsurance(Insurance insurance);

}
